﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace WinKeyBoard.UcControls
{
    public partial class UcShortcutKey : UcComonKey
    {
        public UcShortcutKey()
        {
            InitializeComponent();
        }
        /*
         * 按键代码表示：
         * Shift  +
         * Ctrl   ^
         * Alt    %
         */
        //全选
        private void btnSelectAll_Click(object sender, EventArgs e)
        {
            KeyInput("^a");

        }
        //复制
        private void btnCopy_Click(object sender, EventArgs e)
        {
            KeyInput("^c");
        }
        //粘贴
        private void btnPaste_Click(object sender, EventArgs e)
        {
            KeyInput("^v");
        }
        //剪切
        private void btnCut_Click(object sender, EventArgs e)
        {
            KeyInput("^x");
        }
    }
}
